package com.zlm.user.emp.service.impl;

import com.zlm.common.base.AbstractBaseService;
import com.zlm.common.entity.OrgWorkTimeDO;
import com.zlm.user.emp.dao.OrgWorkTimeDao;
import com.zlm.user.emp.service.OrgWorkTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 员工考勤service实现类
 * @Author: duyufu
 * @Date: 2019/5/27 10:27
 */
@Service
public class OrgWorkTimeServiceImpl extends AbstractBaseService<OrgWorkTimeDao, OrgWorkTimeDO> implements OrgWorkTimeService {

    @Autowired
    @Override
    public void setBaseDao(OrgWorkTimeDao orgWorkTimeDao) {
        this.baseDao = orgWorkTimeDao;
    }

    @Override
    public List<Map<String,Object>> queryOrgWorkTime(Integer empId) {
        return baseDao.queryOrgWorkTime(empId);
    }
}
